package com.dhcy.mqtt.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;


@Data
@ApiModel(value="设备实体类",reference ="设备实体类" )
public class DeviceTheme {
   @TableId(value = "id", type = IdType.AUTO)
   @ApiModelProperty(value="",dataType = "Integer ",example = "")
   private Integer id;

   @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
   @ApiModelProperty(value="创建时间",dataType = "Date ",example = "")
   private Date createTime;

   Integer deviceId;

   Integer themeId;



}
